package com.ruoyi.ziran.domain;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.Data;

/**
 * 咨询对象 zr_consult
 * 
 * @author ruoyi
 * @date 2024-11-24
 */
@Data
public class ZrConsult extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    @TableId(type=IdType.AUTO)
    private Long id;

    /** 老师id */
    @Excel(name = "老师id")
    private Long teacherId;
    @TableField(exist = false)
    private String teacherName;

    /** 学生id */
    @Excel(name = "学生id")
    private Long studentId;
    @TableField(exist = false)
    private String studentName;

    /** 咨询内容 */
    @Excel(name = "咨询内容")
    private String content;

    /** 文件 */
    @Excel(name = "文件")
    private String files;

    /** 回复内容 */
    @Excel(name = "回复内容")
    private String replyContent;

    /** 回复文件 */
    @Excel(name = "回复文件")
    private String replyFile;

    /** 回复时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "回复时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date replyDate;

}
